<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>类选择器</title>
		<style type="text/css">
			.div{
				color: red;
			}
		</style>
	</head>
	<body>
		<div class="div">
			我是div标签
		</div>
		<p class="div">我是p标签</p>
	</body>
</html>
